Skip to content

Add support for int.pow2#1365

Merged
hra687261 merged 3 commits into
OCamlPro:nextfrom
hra687261:int_pow2
Jun 30, 2026
Merged

Add support for int.pow2#1365
hra687261 merged 3 commits into
OCamlPro:nextfrom
hra687261:int_pow2

Conversation

@hra687261

Copy link
Copy Markdown
Contributor

Closes #1274

Comment thread src/lib/reasoners/arith.ml Outdated
@bobot

bobot commented Jun 29, 2026

Copy link
Copy Markdown

Just an advice add a test with a very large n to see what happens to alt-ergo. For colibri at first the result was an out-of-memory. ;)

@bclement-ocp

bclement-ocp commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the tip! We already have a guard against such out-of-memory errors in calc_power for the generic pow function.

@hra687261 hra687261 enabled auto-merge (squash) June 30, 2026 12:06
@hra687261 hra687261 merged commit f825b98 into OCamlPro:next Jun 30, 2026
17 checks passed
@hra687261 hra687261 deleted the int_pow2 branch June 30, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

int.pow2

3 participants